
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>ADALM2000 On-board documentation</title>
<meta name="description" content="ADALM2000 On board docs">

<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<!-- Place favicon.ico in the root directory -->
<link type="text/css" href="./img/style.css" rel="stylesheet">
</head>
<body>
<!--[if lte IE 11]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->

<!-- Add your site or application content here -->
<header id="top">
<a href="https://www.analog.com">
<img src="img/ADI_Logo_AWP.png" alt="Analog Devices logo" />
</a>
<div class="anchor">
<a href="http://#IP#/index.html" title="network version">Network Version</a> |
<a href="https://my.analog.com/en/app/registration/hardware/ADALM2000?sn=#SERIAL#&v=#MODEL#">Register your ADALM2000</a> |
<a href="https://twitter.com/intent/tweet?text=Excited%20to%20try%20out%20my%20new%20@ADI_News%20%23adalm2000%20(http%3A%2F%2Fwww.analog.com%2Fadalm2000)%20Hands%20on%20Learning%20Module%20for%20software-defined%20instrumentation%20pic.twitter.com%2FMai7rWreN7&hashtags=matlab%2Cgnuradio%2Cscopy&related=twitter%3AADI_News" title="Click to Tweet">Share ADALM2000<img style="width: 32px;" src="./img/tw.png" alt="Twitter Logo"></a>
</div>
</header>

<nav>
<div class="dropdown">
<span><a class="button" href="#started">Get Started&dArr;</a></span>
<div class="dropdown-content">
<p><img src="./img/yt.png" alt="YouTube Logo"><a href="https://www.youtube.com/watch?v=894HkVXf7-U&list=PLE6soOeVPOJ0Pj5sMui4KPDiTa7HY50y3">Watch</a> &#38; <a href="https://youtube.com/channel/UCJ5EnPQp9FF81ghq2KN6DiA?sub_confirmation=1">Subscribe</a></p>
<p><a class="button" href="https://www.youtube.com/watch?v=LCf-_iREESQ">Unboxing</a></p>
<p><a id="hidemacinstall" class="button" href="https://www.youtube.com/watch?v=To0ACQ77tkg">Installation</a></p>
<p><a id="hidelinuxinstall" class="button" href="https://www.youtube.com/watch?v=9qgxmmTrcSE">Installation</a></p>
<p><a id="hidewininstall" class="button" href="https://www.youtube.com/watch?v=894HkVXf7-U">Installation</a></p>
<p><a class="button" href="https://www.youtube.com/watch?v=M7degXTb2CA">Calibration</a></p>
<p><a class="button" href="https://www.youtube.com/watch?v=zWX7VnKDYq4">SigGen &#38; Scope</a></p>
<p><a class="button" href="https://www.youtube.com/watch?v=kohIqwrlmjI">Power &#38; Voltmeter</a></p>
<p><a class="button" href="https://www.youtube.com/watch?v=lsfvpkSOoPA">Spectrum Analyzer</a></p>
<p><a class="button" href="https://www.youtube.com/watch?v=VZqPyR455UE">Network Analyzer</a></p>
<p><a class="button" href="https://www.youtube.com/watch?v=9cYstnAoUpk">Digital I/O</a></p>
<p><a class="button" href="https://www.youtube.com/watch?v=3uU97QMPhGQ">Pattern Generator</a></p>
<p><a class="button" href="https://www.youtube.com/watch?v=RLUOsnVP0Qo">Logic Analyzer</a></p>
</div>
</div>
<a class="button" href="#framework">Frameworks</a>
<div class="dropdown">
<span><a class="button" href="#firmware">Firmware &dArr;</a></span>
<div class="dropdown-content">
<p><a class="button" href="#firmware">Upgrade Firmware</a></p>
<p><a class="button" href="#version">Version Info</a></p>
<p><a class="button" href="#settings">Config Settings</a></p>
<p><a class="button" href="#wifi">Wi-Fi Settings</a></p>
<p><a class="button" href="#wired">Wired Settings</a></p>
</div>
</div>
<a class="button" href="#support">Support</a>
<a class="button" href="LICENSE.html">License</a>
<a class="button" href="#about">About ADI</a>
</nav>
<hr>
<section>
<h1>Welcome to the <strong>ADALM2000</strong> Active Learning Module</h1>
<a href="https://www.analog.com/education"><img src="./img/prof_blue.png" alt="ADI Professor" style="float:left" /></a>
<p>Thank you for purchasing the <a href="https://wiki.analog.com/m2k">ADALM2000</a>
Active Learning Module (M2k). The easy to use ADALM2000 active learning module
(M2k) helps introduce electrical engineering students and hobbyists to the fundamentals of
signals and systems. Designed for students at all levels and from all
backgrounds, the module can be used for both instructor-led and self-directed
learning to help students develop a foundation in exploring signals and systems
into the tens of MHz that they can build on as they pursue science, technology,
or engineering degrees, without the cost and bulk associated with traditional
lab gear.</p>
<p>With 12-bit ADCs and DACs running at 100
MSPS, the ADALM2000 brings the power of high performance lab equipment to the
palm of your hand. When coupled with Analog Devices' <a
href="https://wiki.analog.com/university/tools/m2k/scopy">Scopy</a> graphical
application software running on a computer, provides the user with the
following high performance <a href="https://wiki.analog.com/university/tools/m2k/users/reference_manual">instrumentation</a>.</p>
<p>Small enough to fit in a shirt pocket, the
ADALM2000 is completely self-contained and entirely USB powered with the default
firmware. Because M2k is enabled by libiio drivers, it supports OS X® ,
Windows®, and Linux®, which allows students to learn and explore on a variety
of host platforms.</p>
</section>
<hr>
<section id="started">
<a class="anchor" href="#top">Back to top</a>
<h3>Getting Started</h3>
<p>The ADALM2000 <a href="https://wiki.analog.com/m2k">online documentation</a> provides instruction on how to set up the software on your <a href="https://wiki.analog.com/university/tools/pluto/drivers/windows">Windows</a>, <a href="https://wiki.analog.com/university/tools/pluto/drivers/linux">Linux</a>, or <a href="https://wiki.analog.com/university/tools/pluto/drivers/osx">macOS</a> based host to use the ADALM2000. For those who do not read instructions, do the following steps:</p>
<ol>
<li id="hideupgrade">Upgrade your <a href="#firmware">Firmware</a></li>
<li id="hidedriver">Install the Windows <a href="https://github.com/analogdevicesinc/plutosdr-m2k-drivers-win/">driver</a> : <a id="drivertest" href="https://github.com/analogdevicesinc/plutosdr-m2k-drivers-win/releases/latest">Latest Windows Driver</a></li>
<li>Install the <a href="https://github.com/analogdevicesinc/libiio">libiio</a> Library, a C/C++ library that provides generic access to Linux Industrial Input Output (IIO) devices.
<ul><li><div id="hidelib" style="display:none"> OS: <select id="libiio-os" onchange="libiio_type()"></select> Type : <select id="libiio-type" onchange="libiio_ver()"></select> Version : <select id="ver-select" onchange="libiio_url()"></select></div> : <a id="libtest" href="https://github.com/analogdevicesinc/libiio/releases/latest">Latest version of the libiio</a></li>
	<li>The most recent <a href="https://github.com/analogdevicesinc/libiio/releases/latest">release of libiio</a></li>
</ul></li>
<li>Install <a href="https://wiki.analog.com/scopy">Scopy</a>. A cross platform, open source software oscilloscope and signal analysis tool set.
	<ul><li><div id="hidescopy" style="display:none"> OS: <select id="scopy-os" onchange="scopy_type()"></select><div style="display:none" id="hidescopytype"> Type : <select id="scopy-type" onchange="scopy_url()"></select></div> <a id="scopytest" href="https://github.com/analogdevicesinc/scopy/releases/latest">Latest version of Scopy</a></div></li>
</ul></li>
</ol>
<p id="test"><strong>Test your installation:</strong></p>
<p>Once everything above is installed, with your favorite console (Windows Linux or macOS), try these two commands (in bold below) to make sure the drivers and software is installed properly. It is expected that the serial number (specific to the M2k device) and USB uri (the three numbers after the <kbd>'usb:'</kbd> field, based on your host) will be different than the examples below.</p>
<pre class="xterm">
<span id="prompt0">rgetz@brain:~/$</span> <strong>iio_info -s</strong>
Library version: 0.16 (git tag: 5cdeaaa)
Compiled with backends: local xml ip usb serial
Available contexts:
	0: 0456:b672 (Analog Devices Inc. M2k (ADALM-2000)), serial=104473f6078f000612002300d3e68dc95f [usb:3.2.5]
<span id="prompt1">rgetz@brain:~/$</span> <strong>iio_info -a</strong>
Compiled with backends: local xml ip usb serial
Using auto-detected IIO context at URI "usb:3.2.5"
IIO context created with usb backend.
Backend version: 0.14 (git tag: v0.14  )
Backend description string: Linux (none) 4.6.0-g7fbbe98 #77 SMP PREEMPT Mon Feb 19 15:29:39 CET 2018 armv7l
IIO context has 20 attributes:
	hw_model: Analog Devices M2k Rev.C (Z7010)
	hw_model_variant: 0
	hw_serial: 104473f6078f000612002300d3e68dc95f
	fw_version: v0.19
	cal,offset_pos_dac: 0.0093
...
	1 device-specific attributes found:
		attr  0: sampling_frequency value: 100000000
	1 buffer-specific attributes found:
		attr  0: watermark value: 2048
</pre>
<p>If the <b><kbd>'iio_info -s'</kbd></b> command cannot find the M2k on your host, you will need to do some <a href="https://wiki.analog.com/m2k">reading and troubleshooting</a>. If you are having issues installing the software, check out the on-line tutorials. Once the software is running, you can enable the M2k in <a href="https://wiki.analog.com/scopy">scopy</a>.</p>

<p>The M2k on line documentation provides instruction on how to set up the software on your host PC to use the ADALM2000 Active Learning Module.</p>
<ul>
<li><a href="https://wiki.analog.com/university/tools/adalm2000/help_support">ADALM2000 Support</a></li>
<li><a href="https://wiki.analog.com/university/tools/adalm2000/users">ADALM2000 for End Users</a></li>
</ul>
<p>Detailed documentation can be found at the <a href="https://wiki.analog.com/university/tools/m2k">Main Documentation</a> page. Information on regulatory compliance and safety information can be found <a href="https://wiki.analog.com/university/tools/m2k/common/regulatory_compliance">online</a>.</p>

</section>
<hr>
<section id="framework">
<a class="anchor" href="#top">Back to top</a>
<h3>Frameworks</h3>
<p>Use the ADALM2000 with your favorite signal analysis framework, visualization, or signal processing tool.</p>
<table>
<thead>
<tr>
<th>Framework / Application</th>
<th>OS</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center;"><a href="https://wiki.analog.com/scopy"><img src="img/scopy.png" alt="Scopy logo" /></a></td><td>Windows, Linux, macOS</td>
<td><a href="https://wiki.analog.com/scopy">Scopy</a> is the defacto instrument user interface for the M2k. An <a href="https://github.com/analogdevicesinc/scopy/">open source</a> multi-functional (
	<a href="https://wiki.analog.com/university/tools/m2k/scopy/oscilloscope">oscilloscope</a>,
	<a href="https://wiki.analog.com/university/tools/m2k/scopy/spectrumanalyzer">spectrum analyzer</a>,
	<a href="https://wiki.analog.com/university/tools/m2k/scopy/siggen">function generator</a>,
	<a href="https://wiki.analog.com/university/tools/m2k/scopy/logicanalyzer">logic analyzer</a>,
	<a href="https://wiki.analog.com/university/tools/m2k/scopy/pattgen">pattern generator</a>,
	<a href="https://wiki.analog.com/university/tools/m2k/scopy/digitalio">digital I/O</a>,
	<a href="https://wiki.analog.com/university/tools/m2k/scopy/voltmeter">voltmeter</a>, and
	<a href="https://wiki.analog.com/university/tools/m2k/scopy/power-supply">power supply</a>
) software tool set with strong capabilities for analog and digital signal viewing and generation.</td>
</tr>
<tr>
<td style="text-align:center"><a href="https://www.mathworks.com/"><img src="img/mathworks_logo.png" alt="MathWorks logo"/></a></td><td><a href="https://www.mathworks.com/support/sysreq.html">Windows, Linux, macOS</a></td>
<td>Try the <a href="https://www.mathworks.com/hardware-support/adalm2000.html">Support Package</a> for the M2k to enables you to use MATLAB® and Simulink® to analyze, verify, and test practical systems. Request a <a href="https://www.mathworks.com/campaigns/products/trials.html?prodcode=CM">zero cost trial</a> and then use, study, modify, and/or distribute a variety of MATLAB and Simulink <a href="https://github.com/analogdevicesinc/libm2k-matlab/tree/master/examples">examples</a>.</td>
</tr>
<tr>
<td style="text-align:center"><a href="https://www.ni.com/en-us/shop/labview.html"><img src="img/labview_logo.png" alt="Labview logo"/></a></td><td><a href="https://www.ni.com/en-us/support/documentation/supplemental/17/system-requirements-for-labview-development-systems-and-modules.html">Windows, Linux, macOS</a></td>
<td>Try the <a href="https://github.com/analogdevicesinc/libm2k-labview">Support Package</a> for the M2k to enables you to use with LabVIEW, which offers a graphical programming approach that helps you visualize every aspect of your application, including hardware configuration, measurement data, and debugging. This visualization makes it simple to integrate measurement hardware like the ADALM2000, represent complex logic on the diagram, develop data analysis algorithms, and design custom engineering user interfaces.</td>
</tr>
<tr>
<td style="text-align:center;"><a href="https://www.gnuradio.org/"><img src="img/GNURadio_logo.png" alt="GNU Radio logo" /></a></td><td>Linux, macOS</td>
<td>GNU Radio is a Free and Open-Source Toolkit for Software Radio, primarily supported on Linux operating systems. It has both generic IIO blocks, and <a href="https://github.com/analogdevicesinc/gr-m2k">ADALM2000 specific blocks</a></td>
</tr>
<tr>
<td><a href="https://github.com/analogdevicesinc/libm2k/releases/latest"><img style="vertical-align:middle;" src="img/libm2k.png" alt="libm2k logo" /></a></td><td>Windows, Linux, macOS</td>
<td><a href="https://analogdevicesinc.github.io/libm2k/">libm2k</a> is a cross platform C++ library (bindings for Python and C#) for interfacing with the ADALM2000. Many other libraries and applications use this library, it is the main "instrument" interface to the M2k.</td>
</tr>
<tr>
<td><a href="https://wiki.analog.com/resources/tools-software/linux-software/libiio/cmd_line">IIO Command Line Tools</a></td><td>Windows, Linux, macOS</td>
<td><a href="https://wiki.analog.com/resources/tools-software/linux-software/libiio/iio_info">iio_info</a>,
<a href="https://wiki.analog.com/resources/tools-software/linux-software/libiio/iio_attr">iio_attr</a>,
<a href="https://wiki.analog.com/resources/tools-software/linux-software/libiio/iio_readdev">iio_readdev</a>,
<a href="https://wiki.analog.com/resources/tools-software/linux-software/libiio/iio_writedev">iio_writedev</a>,
<a href="https://wiki.analog.com/resources/tools-software/linux-software/libiio/iio_reg">iio_reg</a>
for interacting with the low level aspects of the ADALM2000 from your favorite shell.
</td>
</tr>
</tbody>
</table>
</section>
<hr>
<section id="firmware">
<a class="anchor" href="#top">Back to top</a>
<h3>Firmware</h3>
<p>ADALM2000 Firmware refers to the U-Boot, HDL, Linux kernel, device drivers, and userspace software, that runs on the M2k which enables the device to communicate to USB host. This is bundled up and given a specific version number for the ADALM2000 device. For help upgrading firmware, check out the <a href="https://wiki.analog.com/university/tools/m2k/common/firmware">online documentation</a>.</p>
<div id="versionsection" class="download">
<p><strong>Status of the ADALM2000 firmware:</strong></p>
<p><span id="versiontest">Need javascript to check (sorry)</span></p>
<p><a id="fw-download" class="button" href="https://github.com/analogdevicesinc/m2k-fw/releases/latest">Check the latest version</a>
</div>
<br>
<p id="version"><strong>Version Information:</strong></p>
<p>The various parts of the firmware all have their own unique versions as well:</p>
<table>
<thead>
<tr>
<th>Model</th>
<th>#MODEL#</th>
</tr>
</thead>
<tbody>
<tr>
<td>Serial</td>
<td>#SERIAL#</td>
</tr>
<tr>
<td>Build</td>
<td>#BUILD#</td>
</tr>
<tr>
<td>Linux</td>
<td>#LINUX#</td>
</tr>
<tr>
<td>U-Boot</td>
<td>#UBOOT#</td>
</tr>
<tr>
<td>FPGA</td>
<td>#FPGA#</td>
</tr>
<tr>
<td>Root FS</td>
<td>#ROOTFS#</td>
</tr>
<tr>
<td>IIO</td>
<td>#IIO#</td>
</tr>
<tr>
<td>Network over USB</td>
<td>#NETWORKUSB#</td>
</tr>
</tbody>
</table>
<p id="settings"><strong>Configuration Settings:</strong></p>
<p>On the root file system, there are configuration settings that can modify the default configuration, they currently are:</p>
<table>
<tbody>
<tr>
<td>Hostname</td>
<td>#HOSTNAME#</td>
</tr>
<tr>
<td>IP Address (M2k)</td>
<td>#IP#</td>
</tr>
<tr>
<td>IP Address (HOST)</td>
<td>#HOSTIP#</td>
</tr>
<tr>
<td>Netmask</td>
<td>#NETMASK#</td>
</tr>
<tr>
<td>MAC Address (M2k)</td>
<td>#MAC#</td>
</tr>
<tr>
<td>MAC Address (HOST)</td>
<td>#MACHOST#</td>
</tr>
</tbody>
</table>

<p id="wifi">WIFI</p>

<table>
<tbody>
<tr>
<td>SSID</td>
<td>#SSID_WLAN#</td>
</tr>
<tr>
<td>WPA-PSK Passphrase</td>
<td>********</td>
</tr>
<tr>
<td>IP Address</td>
<td>#IPADDR_WLAN#</td>
</tr>
</tbody>
</table>

<p id="wired">Wired Ethernet using a USB Ethernet adapter</p>

<table>
<tbody>
<tr>
<td>IP Address</td>
<td>#IPADDR_ETH#</td>
</tr>
<tr>
<td>Netmask</td>
<td>#NETMASK_ETH#</td>
</tr>
</tbody>
</table>

<p>To change these settings, check the <a href="https://wiki.analog.com/university/tools/adalm2000/common/customizing">on-line documentation</a>.</p>
</section>
<hr>
<section id="support">
<a class="anchor" href="#top">Back to top</a>
<h3>Help and Support</h3>
<p>If you have any questions regarding the ADALM2000, scopy or are experiencing any problems following the user guides or experiments feel free to ask us a question. Questions can be asked on our <a href="https://ez.analog.com/university-program">Virtual Classroom</a>. Help and support for the ADALM2000 and scopy are provided exclusively <a href="https://wiki.analog.com/university/tools/pluto/help_support">online</a>. If you don't have an internet connection on this computer, please find one that does.</p>
</section>
<hr>
<section id="social">
<div>
<ul class="quicklinks">
<li><a href="https://www.analog.com/en/about-adi.html" title="About ADI">About ADI</a></li>
<li><a href="https://www.analog.com/en/analog-dialogue.html" title="Analog Dialogue">Analog Dialogue</a></li>
<li><a href="https://www.analog.com/en/about-adi/careers.html" title="Careers">Careers</a></li>
<li><a href="https://www.analog.com/en/about-adi/careers/students-and-graduates/new-college-graduates.html" title="Students and Graduates">New College Graduates</a></li>
<li><a href="https://investor.analog.com/" title="Investor Relations">Investor Relations</a></li>
<li><a href="https://www.analog.com/en/about-adi/news-room.html" title="News Room">News Room</a></li>
<li><a href="https://www.analog.com/en/about-adi/corporate-information/sales-distribution.html" title="Sales &amp; Distributors">Sales &amp; Distribution</a></li>
<li><a href="https://form.analog.com/Form_Pages/corporate/parts.aspx" title="College Parts Program">College Parts Program</a></li>
</ul>
</div>
<h3 id="about">About Analog Devices</h3>
<div class="colLeft">
<p><a href="https://www.analog.com/">Analog Devices</a> (Nasdaq: <a href="https://www.nasdaq.com/symbol/adi">ADI</a>) is a leading global high-performance analog technology company dedicated to solving the toughest engineering challenges. We enable our customers to interpret the world around us by intelligently bridging the physical and digital with unmatched technologies that sense, measure, power, connect and interpret.</p>
</div>
<div style="clear: both">
<p>We offer <a href="https://www.analog.com/en/analog-dialogue.html">technical journals</a> and other <a href="https://ez.analog.com/">community resources</a> to engineers, scientists, technicians, and students looking to help and share with one another. Interested in the latest news and articles about ADI products, design tools, training and events? Choose from one of our 12 newsletters that match your product area of interest, delivered monthly or quarterly to your inbox. <a href="https://my.analog.com/en/myanalog/manage-updates/manage-newsletters.html">Sign up</a></p>
<p>Follow Analog Devices on your favorite <a href="https://www.analog.com/social"> social media site</a>:</p>
</div><div style="clear: both">
<p><a href="https://ez.analog.com/welcome" title="Join Analog Devices on EngineerZone"><img src="./img/ez.png" alt="EngineerZone logo"></a>
<a href="https://www.facebook.com/AnalogDevicesInc" title="Visit Analog Devices on Facebook"><img src="./img/fb.png" alt="FaceBook Logo"></a>
<a href="https://twitter.com/#!/adi_news" title="Follow Analog Devices on Twitter"><img src="./img/tw.png" alt="Twitter Logo"></a>
<a href="https://www.instagram.com/analogdevices/?hl=en" title="Follow Analog Devices on Instagram"><img src="./img/ig.png" alt="Instgram Logo"></a>
<a href="https://www.linkedin.com/company/3450" title="Join Analog Devices on LinkedIn"><img src="./img/li.png" alt="LinkedIn Logo"></a>
<a href="https://www.youtube.com/user/AnalogDevicesInc" title="View Analog Devices on YouTube"><img src="./img/yt.png" alt="YouTube Logo"></a>
<a href="https://www.weibo.com/analogdevices" title="Chinese language information on Sina Weibo"><img src="./img/sw.png" alt="Sina Weibo Logo"></a>
<a href="https://i.youku.com/u/UMzA0Njk0MDI0" title="View Analog Devices on YouKu"><img src="./img/yk.png" alt="YouKu Logo"></a>
<a href="http://www.slideshare.com/analogdevicesinc" target="_blank" title="Visit our official SlideShare channel to gain access to technical presentations"><img src="./img/ss.png" alt="SlideShare Logo"></a>
</p>
</div>
</section>
<hr>
<footer>
<p>&copy; 2017 ANALOG DEVICES, INC. ALL RIGHTS RESERVED.</p>
</footer>
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-3.1.1.min.js"><\/script>')</script>
<script src="./img/version.js"></script>
</body>
</html>
